package FactoryMethod;

import EasyFactory.Fruit;

public class Client {
    public static void main(String[] args) {

        BFactory factory = new BFactory();
        //Factory factory = (Factory)XMLUtil.getBean();
        Fruit fruit = factory.CreateFruit();
        fruit.eat();
        System.out.println("1");
    }


}
